﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddSprint.aspx.cs" Inherits="Actuals.AddSprint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<base target="_self" />
    <title></title>
    <link href="~/Actuals.css" rel="Stylesheet" type="text/css" />
    <link href="~/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.js") %>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.datepicker.js") %>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.core.js") %>"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#<%=txtFromDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });
            $("#<%=txtToDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });

        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divAddSprints" runat="server">
        <asp:Label runat="server" ID="lblMsg" CssClass="message"></asp:Label>
        <table>
          <tr>
                    <td>
                        <asp:Label ID="lblProject" runat="server" CssClass="label">Project</asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlProject" runat="server" CssClass="textfield" AutoPostBack="true"
                            OnSelectedIndexChanged="ddlProject_OnSelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblRelease" runat="server" CssClass="label">Release</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlRelease" runat="server" CssClass="textfield" AutoPostBack="true">
                        </asp:DropDownList>
                    </td>
                </tr>
            <tr>
                <td>
                    <asp:Label ID="SprintDescription" runat="server" CssClass="label">SprintDescription</asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtSprintDescription" runat="server" Rows="10" Columns="30" TextMode="MultiLine"
                        CssClass="textfield">
                    </asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server" CssClass="label"> From Date </asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtFromDate" CssClass="textfield" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label6" runat="server" CssClass="label"> To Date </asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtToDate" CssClass="textfield" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblStatus" Text="Status" CssClass="label" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlstatus" runat="server">
                        <asp:ListItem Value="0">ToDo</asp:ListItem>
                        <asp:ListItem Value="1">InProgress</asp:ListItem>
                        <asp:ListItem Value="2">Closed</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnSave" Text="Save" runat="server" OnClick="btnSave_Click"></asp:Button>
                    <input type="button" value="Close" onclick="window.close();" />
                    <asp:HiddenField ID="hidSprintId" runat="server" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
